package top.goldenyear.porpoise.common.core.util.tree;

import java.util.List;

/**
 * @author airhead
 */
public interface INode<N> {
  /**
   * 获取子节点
   *
   * @return
   */
  List<N> getChildren();

  /**
   * 设置节点
   *
   * @return
   */
  void setChildren(List<N> children);
}
